package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 墓园类型表（设置骨灰楼）
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "yx_cemetery_tomb_type")
public class TombType {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 墓型名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 墓型材质
     */
    @TableField(value = "material")
    private String material;

    /**
     * 墓型风格(1，佛 2，基督，3普通)
     */
    @TableField(value = "`style`")
    private Integer style;

    /**
     * 排序
     */
    @TableField(value = "seq")
    private Integer seq;

    /**
     * 墓碑类型: 1 立碑 2 卧碑 99 其它
     */
    @TableField(value = "tomb_stone_type")
    private Integer tombStoneType;

    /**
     * 墓型介绍 简介
     */
    @TableField(value = "introduce")
    private String introduce;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private String createUserId;

    /**
     * 最后修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 最后修改人
     */
    @TableField(value = "last_update_user_id")
    private String lastUpdateUserId;

    /**
     * 删除时间
     */
    @TableField(value = "delete_time")
    private Date deleteTime;

    /**
     * 删除人
     */
    @TableField(value = "delete_user_id")
    private String deleteUserId;

    /**
     * 删除状态(0删除 1正常)
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    /**
     * 机构id
     */
    @TableField(value = "organ_id")
    private String organId;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_MATERIAL = "material";

    public static final String COL_STYLE = "style";

    public static final String COL_SEQ = "seq";

    public static final String COL_TOMB_STONE_TYPE = "tomb_stone_type";

    public static final String COL_INTRODUCE = "introduce";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";

    public static final String COL_LAST_UPDATE_USER_ID = "last_update_user_id";

    public static final String COL_DELETE_TIME = "delete_time";

    public static final String COL_DELETE_USER_ID = "delete_user_id";

    public static final String COL_DATA_STATUS = "data_status";

    public static final String COL_ORGAN_ID = "organ_id";
}